<?php
//验证基类
class Check extends Validate{
    public function oneCheck(Model &$model,Array $param) {
        if(!$model->isOne($param)){
            return false;
        }
        return true;
    }
}